/* c-message组件样式 */
.c-message {
    position: fixed;
    top: 30px;
    left: 50%;
	border-radius: 4px;
	min-width: 380px;
    height: 40px;
    line-height: 40px;
	box-sizing: border-box;
    background: #fff;
    color: #666;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
    z-index: 9999;
}

.c-message--main {
    padding-left: 35px;
	border-radius: 4px;
	width: 100%;
	text-align: left;
}
.c-message--icon {
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    position: absolute;
    left: 10px;
    top: 10px;
    line-height: 20px;
}
.icon-message--error{
	background: url('../images/message/error.png') no-repeat;
	background-size: cover;
}
.icon-message--info{
	background: url('../images/message/info.png') no-repeat;
	background-size: cover;
}
.icon-message--success{
	background: url('../images/message/success.png') no-repeat;
	background-size: cover;
}
.icon-message--warning{
	background: url('../images/message/warning.png') no-repeat;
	background-size: cover;
}
.c-message--success {
	border: 1px solid #e1f3d8;
	color: #67C23A;
	background: #f0f9eb;
}

.c-message--error {
	color: #F56C6C;
	border: 1px solid #fde2e2;
    background: #fef0f0;
}

.c-message--info {
	color: #909399;
	background: #edf2fc;
	border: 1px solid #EBEEF5;
}

.c-message--warning {
	border: 1px solid #faecd8;
	color: #E6A23C;
    background: #fdf6ec;
}

.c-message--close {
    position: absolute;
    right: 15px;
    color: #C0C4CC;
    text-decoration: none;
    cursor: pointer;
    font-size: 30px;
    top: 0;
    line-height: 34px;
    display: block;
    height: 40px;
}

.c-message--close:hover {
    color: #666;
}

@keyframes messageFadeInDown {
    0% {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0)
    }
    100% {
        -webkit-transform: none;
        transform: none
    }
}

.c-message.messageFadeInDown {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: messageFadeInDown;
    animation-name: messageFadeInDown;
}

@keyframes messageFadeOutUp {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }
}

.c-message.messageFadeOutUp {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: messageFadeOutUp;
    animation-name: messageFadeOutUp
}


.c-message--tip{
    font-size: 14px;
}